package com.sky.dto.common;

import com.sky.anotion.ValidId;
import com.sky.anotion.validator.UpdateGroup;
import com.sky.enumeration.ValidIdType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ParamsStatus {
    @ValidId(message = "ID不能为空",value = ValidIdType.STRING,required = false,groups = UpdateGroup.class)
    private String id;
    @ValidId(message = "status不能为空",value = ValidIdType.INTEGER,required = false,groups = UpdateGroup.class)
    private Integer status; // 状态值
    private List<String> ids;
}
